import http from "./axiosFun.js"

function get(url)
{
	return http.get(url).then(res=>{
		return res
	})
}

function post(url,data)
{
	return http.post(url,data).then(res=>{
		return res
	})
}

export default {
	get,
	post
}